package model.DTO;

import model.entity.SetmealDish;

import java.util.List;

public class SetmealAddDTO {
    private int categoryId;
    private String description;
    private int id;
    private String image;
    private String name;
    private double price;
    private int status;
    private List<SetmealDish> setmealDishes;

    public SetmealAddDTO() {
    }

    public SetmealAddDTO(int categoryId, String description, int id, String image, String name, double price, List<SetmealDish> setmealDishes) {
        this.categoryId = categoryId;
        this.description = description;
        this.id = id;
        this.image = image;
        this.name = name;
        this.price = price;
        this.setmealDishes = setmealDishes;
    }

    public SetmealAddDTO(int categoryId, String description, int id, String image, String name, double price, int status, List<SetmealDish> setmealDishes) {
        this.categoryId = categoryId;
        this.description = description;
        this.id = id;
        this.image = image;
        this.name = name;
        this.price = price;
        this.status = status;
        this.setmealDishes = setmealDishes;
    }

    /**
     * 获取
     * @return categoryId
     */
    public int getCategoryId() {
        return categoryId;
    }

    /**
     * 设置
     * @param categoryId
     */
    public void setCategoryId(int categoryId) {
        this.categoryId = categoryId;
    }

    /**
     * 获取
     * @return description
     */
    public String getDescription() {
        return description;
    }

    /**
     * 设置
     * @param description
     */
    public void setDescription(String description) {
        this.description = description;
    }

    /**
     * 获取
     * @return id
     */
    public int getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * 获取
     * @return image
     */
    public String getImage() {
        return image;
    }

    /**
     * 设置
     * @param image
     */
    public void setImage(String image) {
        this.image = image;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return price
     */
    public double getPrice() {
        return price;
    }

    /**
     * 设置
     * @param price
     */
    public void setPrice(double price) {
        this.price = price;
    }

    /**
     * 获取
     * @return setmealDishes
     */
    public List<SetmealDish> getSetmealDishes() {
        return setmealDishes;
    }

    /**
     * 设置
     * @param setmealDishes
     */
    public void setSetmealDishes(List<SetmealDish> setmealDishes) {
        this.setmealDishes = setmealDishes;
    }

    public String toString() {
        return "SetmealAddDTO{categoryId = " + categoryId + ", description = " + description + ", id = " + id + ", image = " + image + ", name = " + name + ", price = " + price + ", setmealDishes = " + setmealDishes + "}";
    }

    /**
     * 获取
     * @return status
     */
    public int getStatus() {
        return status;
    }

    /**
     * 设置
     * @param status
     */
    public void setStatus(int status) {
        this.status = status;
    }
}
